import request from '@/service'

export const getUserList = params => {
  return request({
    method: 'Get',
    url: 'goods',
    params
  })
}

// 根据 ID 查询商品
export const deleteGoods = id => {
  return request({
    method: 'DELETE',
    url: 'goods/' + id
  })
}
